﻿Imports DAO
Imports DTO
Public Class CDauSachBUS
    Public Function LayDanhSachDauSach() As List(Of CDauSachDTO)
        Return New CDauSachDAO().LayDanhSachDauSach()
    End Function

    Public Function ThemDauSach(ByVal ds As CDauSachDTO) As Boolean
        Return New CDauSachDAO().ThemDauSach(ds) > 0
    End Function

    Public Function CapNhatDauSach(ByVal ds As CDauSachDTO) As Boolean
        Return New CDauSachDAO().CapNhatDauSach(ds) > 0
    End Function
End Class
